package cn.edu.scau.cmi.lijinzhao.chapter03;
import java.util.Scanner;
public class Example3_4 {
  public static void main (String arg[]) {
	  People zhangSan=new People();
	  Scanner reader =new Scanner(System.in);
	  System.out.println("输入年龄，回车确认");
	  zhangSan.age=reader.nextInt();
	  System.out.println("输入体重，回车确认");
	  zhangSan.weight=reader.nextFloat();
	  zhangSan.speak();
  }
}
